package com.isdepci.project.eleLoad.service.impl;

import com.isdepci.project.eleLoad.domain.AQuotaInformation;
import com.isdepci.project.eleLoad.mapper.AQuotaInformationMapper;
import com.isdepci.project.eleLoad.service.IAQuotaInformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 定额信息Service业务层处理
 *
 * @author isdepci
 * @date 2025-02-26
 */
@Service
public class AQuotaInformationServiceImpl implements IAQuotaInformationService
{
    @Autowired
    private AQuotaInformationMapper aQuotaInformationMapper;

    /**
     * 查询定额信息
     */
    @Override
    public AQuotaInformation selectAQuotaInformationById(Long quotaId)
    {
        return aQuotaInformationMapper.selectAQuotaInformationById(quotaId);
    }

    /**
     * 查询定额信息列表
     */
    @Override
    public List<AQuotaInformation> selectAQuotaInformationList(AQuotaInformation aQuotaInformation)
    {
        return aQuotaInformationMapper.selectAQuotaInformationList(aQuotaInformation);
    }

    /**
     * 新增定额信息
     */
    @Override
    public int insertAQuotaInformation(AQuotaInformation aQuotaInformation)
    {
        return aQuotaInformationMapper.insertAQuotaInformation(aQuotaInformation);
    }

    /**
     * 修改定额信息
     */
    @Override
    public int updateAQuotaInformation(AQuotaInformation aQuotaInformation)
    {
        return aQuotaInformationMapper.updateAQuotaInformation(aQuotaInformation);
    }

    /**
     * 批量删除定额信息
     */
    @Override
    public int deleteAQuotaInformationByIds(Long[] quotaIds)
    {
        return aQuotaInformationMapper.deleteAQuotaInformationByIds(quotaIds);
    }

    /**
     * 删除定额信息信息
     */
    @Override
    public int deleteAQuotaInformationById(Long quotaId)
    {
        return aQuotaInformationMapper.deleteAQuotaInformationById(quotaId);
    }
}
